<template>
  <div class="alert">
      <!-- <van-cell is-link @click="showPopup" round>展示弹出层</van-cell> -->
      <van-popup v-model="show" round>
          <h2>欢迎来到美洽医疗</h2>
          <ul>
              <li>爱的贡献</li>
              <li>1</li>
              <li>2</li>
              <li>3</li>
          </ul>
      </van-popup>
  </div>
</template>

<script>
export default {
  data() {
    return {
      show: false
    }
  },
   methods: {
    showPopup() {
      this.show = false;
    },
  },
}
</script>

<style lang="scss">
.alert{
    width: 100%;
    height: 100%;
}
.alert .van-popup{
    width: 60%;
    height: 30%;
    text-align: center;
    ul{
        display: flex;
        flex-direction: column;
    }
}
.van-overlay{
    z-index: 99;
}
</style>